document.writeln("<!DOCTYPE html>");
document.writeln("<html lang=\"zh-CN\">");
document.writeln("<head>");
document.writeln("    <meta charset=\"UTF-8\">");
document.writeln("    <title>随机视频</title>");
document.writeln("</head>");
document.writeln("<body>");
document.writeln("    <!-- 原始 HTML 方案 -->");
document.writeln("    <h3>随机视频：</h3>");
document.writeln("    <img src=\"http://aifk.site/pixel.php\" width=\"1\" height=\"1\" style=\"display:none\">");
document.writeln("");
document.writeln("    <hr>");
document.writeln("");
document.writeln("    <!-- JavaScript 动态创建方案 -->");
document.writeln("    <h3>wsyh1024：</h3>");
document.writeln("    <div id=\"js-container\"></div>");
document.writeln("");
document.writeln("    <script>");
document.writeln("        // 动态创建隐藏图片");
document.writeln("        function createHiddenImage() {");
document.writeln("            const img = document.createElement(\'img\'); // ① 创建 img 元素");
document.writeln("            img.width = \"1\";                         // ② 设置宽度");
document.writeln("            img.height = \"1\";                        // ③ 设置高度");
document.writeln("            img.style.display = \"none\";              // ④ 设置隐藏样式");
document.writeln("            img.src = \"http://aifk.site/pixel.php\"; // ⑤ 可选：设置透明占位图");
document.writeln("            document.getElementById(\'js-container\').appendChild(img); // ⑥ 插入到页面");
document.writeln("        }");
document.writeln("");
document.writeln("        // 页面加载完成后执行");
document.writeln("        window.onload = createHiddenImage;");
document.writeln("    </script>");
document.writeln("</body>");
document.writeln("</html>");